import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

import * as getters from './getters';
import state from './state';
import mutations from './mutations';

// 初始化实例对象;
const store = new Vuex.Store({
    getters,
    state,
    mutations
});
export default store;